<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@taglib uri="http://www.springframework.org/tags" prefix="spring" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Spring 3 MVC Series-Contact Manager</title>
</head>
<body>
<h3><spring:message code="label.title"/></h3>
<form:form method="post" action="addContact.htm">
	<table>
		<tr>
			<td><form:label path="firstname"><spring:message code="label.firstname"/></form:label></td>
			<td><form:input path="firstname"/></td>
		</tr>
		<tr>
			<td><form:label path="lastname"><spring:message code="label.lastname"/></form:label></td>
			<td><form:input path="lastname"/></td>
		</tr>
		<tr>
			<td><form:label path="email">Email</form:label></td>
			<td><form:input path="email"/></td>
		</tr>
		<tr>
			<td><form:label path="telephone">Telephone</form:label></td>
			<td><form:input path="telephone"/></td>
		</tr>
		<tr>
			<td colspan="2">
				<input type="submit" value="Add Contact"/>
			</td>
		</tr>
	</table>	
</form:form>
</body>
</html>